//
//  StockSimpleLineViewController.h
//  RedManStock
//
//  Created by lanou3g on 15/7/29.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Chart.h"
#import <QuartzCore/QuartzCore.h>
#import "YAxis.h"
#import "HeadControlView.h"
@interface StockSimpleLineViewController : UIViewController
@property (nonatomic,retain) Chart *candleChart;
@property (nonatomic,retain) NSTimer *timer;
@property (nonatomic) int chartMode;   //cartMode估计是表类型，表示是三个区中的哪个表吧？
@property (nonatomic) int tradeStatus;
@property (nonatomic,retain) NSString *lastTime;
@property (nonatomic,retain) NSString *req_freq;
@property (nonatomic,retain) NSString *req_type;
@property (nonatomic,retain) NSString *req_security_id;

//我的
@property (nonatomic,retain) HeadControlView *headControlView;
@property (nonatomic,retain) NSString *code;

-(void)initChart;
-(void)generateData:(NSMutableDictionary *)dic From:(NSArray *)data;
-(void)setData:(NSDictionary *)dic;
-(void)setCategory:(NSArray *)category;
-(void)setOptions:(NSDictionary *)options ForSerie:(NSMutableDictionary *)serie;
@end
